thin.imports('/public/configure/conf.about.js');
thin.imports('/public/plug/LoadEffect/LoadEffect.js');

thin.use(function() {
	// 路由
	checkLocation();
	
	$.showLoading();

	// 獲取关于价值链
	factory.request('_about_get');
});

// 获取关于价值链回调
function __complete_about(res) {
	$.hideLoading();
	if(res.status == 200) {
		var list = res.data;
		var val = list.content;
		val = val.replace(/&lt;/gi, '<');
		testEditormdView = editormd.markdownToHTML("bind-de-content", {
			markdown: val,
			htmlDecode: "style,script,iframe", // you can filter tags decode
			tocm: true, // Using [TOCM]
			emoji: true,
			taskList: true,
			tex: true, // 默认不解析
			flowChart: true, // 默认不解析
			sequenceDiagram: true, // 默认不解析
		});
	} else {
		// nothing
	}
}
